@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css 全局样式
// 自定义样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 20px;
}

//操作栏样式
.operate-container,.batch-operate-container,.card-container,.table-container,.filter-container {
  margin-top: 20px;
}

.operate-container .el-button {
  float: right;
}
.filter-container .filter-btn{
  float: right;
}
//批量操作栏样式
.batch-operate-container {
  display: inline-block;
  margin-top: 20px;
}


//分页栏样式
.pagination-container {
  display: inline-block;
  margin-top: 20px;
}

//添加、更新表单样式
.form-container {
  width: 820px;
  padding: 35px 35px 15px 35px;
  margin: 20px auto;
}

// 树容器的样式
.tree-container {
  width: 820px;
  margin: 20px auto;

  
  .el-tree-node__content{
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .tree-node {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding-right: 8px;

    .el-badge__content.is-fixed{
      right:0px!important
    }
  }
}

.card-container{
  
  .el-tree-node__content{
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .tree-node {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding-right: 8px;

    .el-badge__content.is-fixed{
      right:0px!important
    }
  }
}
